@charset "UTF-8";
/*
Theme Name: 企业网站定制
Theme URI: https://www.yxwlgs.net/
Author: Yixingseo
Author URI: https://www.yxwlgs.net/
Description: 企拓2023
Requires PHP: 5.6
Version: 1.0
Text Domain: yxseo
*/
:root{
    --color1:#0058aa;
    --color2:#09a550;
}

@font-face {
    font-family: "Montserrat-Regular";
    src: url("static/fonts/Montserrat-Regular.woff") format("woff");
    font-display: swap;
}

.font-mr{
    font-family: "Montserrat-Regular";
}

.prevnext{margin: 0;padding: 0;list-style-type: none;}
.webfont{font-family: 'webfont';}

body{font-family:Microsoft YaHei,Heiti SC,tahoma,arial,Hiragino Sans GB,sans-serif;position: relative;}
a:link,a:hover{text-decoration: none;}
img{max-width: 100%;}

.bg1{background-color: var(--color1);}
.text1{color:var(--color1);}
.bg2{background-color: var(--color2);}
.text2{color:var(--color2);}
.text-shadow{text-shadow: 0 1px 1px #333;}

.mline-text{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    line-height: 1.5rem;
}


@media screen and (min-width:1280px) {
    .container{max-width: 1200px;}
}

.wp-block-image>figure>figcaption{text-align: center;}


.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:auto;content:"";background-color:rgba(0,0,0,0)}
.border{border:1px solid #eee}
.border-top{border-top: 1px solid #eee;}
.border-right{border-right: 1px solid #eee;}
.border-left{border-left: 1px solid #eee;}
.border-bottom{border-bottom: 1px solid #eee;}

/* top */
.banner{max-width: 100%;overflow: hidden;position: relative;background-color: #ccc;}
.banner .swiper-pagination{bottom: 1rem !important;}
.banner .swiper-pagination-bullet{width: 50px;height: 8px;border-radius: 0;}


.scrollleft{overflow: hidden;}
.scrollleft ul{display: flex;margin: 0;padding: 0;list-style-type: none;}
.scrollleft ul li{padding:10px;}
.scrollleft ul li img{max-width: 250px;}

.navbar-menu{list-style-type: none;}

.page .main h3{padding: 10px 15px;font-size:1.2rem;background-color: #015cad;color:#fff;display: inline-block;}

.top-search input:focus {
    outline: none;
}
.top-search form{border:1px solid #ddd;padding:5px 10px}
.top-search input{height: 40px;}
.top-search button, .top-search input{border: none;background-color: transparent;}

.nav-products,.nav-products ul{margin: 0;padding: 0;list-style-type: none;}
.nav-products li a{display: block;padding:10px;color:#000;transition: all ease .3s;}
.nav-products li a:hover{background-color: #2b6cb0;color:#fff;text-indent: 10px;}
.nav-products li a::before{content: '-';padding-right: 5px;}
.nav-products ul li a{border-bottom: 1px solid #ddd;font-size: 14px;}
.nav-products>li>a{border-bottom: 1px solid #ddd;}

.nav-products>li>a{font-weight: bold;}


.ad1{background: url(static/images/ad1-bg.jpg);background-size: cover;background-attachment: fixed;}

@media screen and (max-width:767px) {
    .ad1 ul{flex-wrap: wrap;}
    .ad1 ul li{margin-bottom: 1rem;}
    .ad2 .row>div:not(:last-child){border-bottom: 1px solid #ddd;}
    .ad3 .row>div:not(:last-child){border-bottom: 1px solid #ddd;}
}

a.more-btn{
    display: inline-block;
    background-color: var(--color1);
    color:#fff;
    padding:10px 40px;
    border-radius: 30px;
}
a.more-btn:hover{
    background-color: var(--color2);
}


.title{}
.title::before,
.title::after
{content: '';width:5rem;height: 1px;background:var(--color1);display: block;}

.home1{background: url(static/images/home_about_bgx.jpg);}

.home-about .title::before,
.home-about .title::after{
    background-color: #ddd;
}

.index-left-bg{
    background: url(static/images/index-left-bg1.jpg);background-size: cover;
}

.home-catlist{margin-left: -5px;margin-right: -5px;}
.home-catlist li{margin-bottom: 5px;padding-left: 5px;padding-right: 5px;}
.home-catlist li a{display: block;background-color: #f1f1f1;padding:15px 10px;color:#333;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;text-align: center;}
.home-catlist li a:hover{background-color: var(--color1);color:#fff;}
/* .home-catlist li a::before{content: '\f105';font-family: FontAwesome; padding-right: 5px;} */


.top-news .top-news-text{position: absolute;bottom: 0;left: 0;width: 100%;background-color: rgba(0,0,0,0.7);}
.top-news .top-news-text:hover{background-color: rgba(0,51,153,0.7);}
.top-news .p{margin-bottom: 0;}

.home-news-list{gap: 15px;height: 100%;}
.home-news-list li{flex: 1;}

.news-left{flex: 100px 0 0;}

.more-link a{position: relative;color:#fff;background-color: transparent;z-index: 0;}
.more-link a::before{content: ''; background-color: var(--color1);position: absolute;left: 0;top: 0;width: 100%;height: 100%;z-index: -2;}
.more-link a::after{content: '';width: 100%;height: 100%;background-color: var(--color2);position: absolute;left: 0;top: 0;z-index: -1;
    transition: all ease .3s;transform: scaleY(0);transform-origin: 0% 100%;
}
.more-link a:hover::after{transform: scaleY(1);}

.navbar-menu .sub-menu{margin: 0;padding: 0;list-style-type: none;}

.home-about-gallery{overflow: hidden;}
.home-about-gallery .mask{position: absolute;background-color: rgba(0,0,0,0.7);width: 100%;height: 100%;left: 0;top: -100%;display: flex;
    justify-content: center;align-items: center;transition: all ease .5s;}
.home-about-gallery .mask a{color:#fff;display: block;width: 120px;height: 50px; text-align: center;border:1px solid #fff;line-height: 50px;}
.home-about-gallery:hover .mask{top: 0;}


.home-yy .item .mask{position: absolute;left: 0;top: 0;background-color: rgba(0,0,0,0.7);width: 100%;height: 100%;display: flex;flex-direction: column;
    justify-content: center;align-items: center;
}
.home-yy .item .ts{transition: all ease .3s;transform: translateY(50px);}
.home-yy .item .desc{opacity: 0; transition-delay: .2s;transform: translateY(30px);transition: all ease .3s;}
.home-yy .item:hover .ts{transform: translateY(0);}
.home-yy .item:hover .desc{opacity: 1;transform: translateY(0);}

.home-yy .row>div{border-right: 1px solid #666;}

/*顶部导航*/
@media screen and (min-width:1024px) {        
    .navbar-menu .sub-menu{position: absolute;left: 0;top: 100%;min-width: 15rem;width: 100%;box-shadow: 0 1px 3px #333;z-index: 999;
        transition: all ease .3s;transform: scaleY(0);transform-origin: 50% 0;list-style-type: none;margin: 0;padding: 0;
    }
    .navbar-menu .sub-menu>li:not(:last-child){border-bottom: 1px solid #ddd;}
    .navbar-menu .sub-menu>li>a{display: block;padding:15px 10px;background-color: #fff;color:#666;}
    .navbar-menu .sub-menu>li>a:hover{background-color: #f1f1f1;} 

    .header{background-color: #fff;}
    .header-change{background-color: rgba(0,0,0,0.7);}
    .header .top-menu-bg{}
    .header .navbar{align-items: center;}
    /* .header .navbar-brand{flex: 0 0 430px;} */
    .header .navbar-menu>li:not(:last-child){}
    .header .navbar-menu{display: flex;flex: auto;justify-content: center;}
    .header .navbar-menu>.menu-item{position: relative;}
    .header .navbar-menu>li{}
    .header .navbar-menu>.menu-item>a{
        display: block; height: 60px;line-height: 60px;text-align: center;
        font-size: 16px;position: relative;z-index: 1;color:#333;min-width: 8rem;
    }
    /* .navbar-menu>li>a::before{
        content:''; background-color:var(--color2) ;display: block;width:100%;height: 100%;
        position: absolute;left:0; bottom: 0;z-index: -1;
        transition: all ease .3s;transform-origin: 50% 50%;transform: scaleX(0);
    } */
    .navbar-menu>li.menu-item-has-children>a::after{
        content: '\f0d7';font-family: FontAwesome;padding-left: 5px;
    }
    .navbar-menu>.current-menu-item>a,
    .navbar-menu>.current-menu-parent>a,    
    .navbar-menu>.current-post-ancestor>a,
    .navbar-menu>li:hover>a,
    .navbar-menu>li>a:hover{
        color:#333 !important;
    }
    .navbar-menu>li:hover>a::before,
    .navbar-menu>.current-menu-item>a::before,
    .navbar-menu>.current-menu-parent>a::before,
    .navbar-menu>.current-post-ancestor>a::before
    {transform: scaleX(1);}
    .navbar-menu>li:hover>ul{transform: scaleY(1);}

    .page-gallery .item img{height: 200px;}    
}

@media screen and (max-width:1300px) and (min-width:1024px) {
    .header .navbar-brand{flex: 0 0 360px;}
}

@media screen and (max-width:1023px) {
    .header{padding:1rem 0;position: relative;background-color:#fff;}
    .navbar{width: 100%;}
    .navbar-brand{padding-right: 3rem;}
    .top-menu{justify-content: space-between;}
    .navbar-menu{position: absolute;z-index: 1020;left: 0;top: 100%;background-color: #fff;width: 100%;
        padding:0 1rem;border-top: 1px solid #f1f1f1;box-shadow: 0 10px 10px #f1f1f1;
        display: none;
    }
    .navbar-menu>li{}
    .navbar-menu>li>a{padding:15px 10px;display: block;color:#333;letter-spacing: 3px ;border-bottom: 1px solid #f1f1f1;}
    .navbar-menu>li>a::before{content: '\f0da';font-family: FontAwesome;padding-right: 1rem;color:#ccc;}
    .navbar-toggle{background-color: #fafafa;padding:5px 15px;border-radius: 3px;border:1px solid #eee;}
    .navbar-toggle .fa{font-size: 20px;color:#666;}
    .navbar-menu .sub-menu{
        display: none;
    }
    .navbar-menu .sub-menu>li{padding:8px 15px 8px 30px;}
    .navbar-menu .sub-menu>li>a{color:#666;display: block;}

    .about-list{flex-wrap: wrap;justify-content: center !important;}
    .about-list li{flex: 0 0 33%;}
}

/*区块*/
.loop-images .mask{background-color: rgba(0,51,153,0.9);position: absolute;top: 0;left: 0;text-align: center;color:rgba(255,255,255,0.6);
    transition: all ease .5s;transform: scale(0);}
.loop-images:hover .mask{transform: scale(1);}
.loop-images i{font-size: 30px;}
.loop-images p{}
.loop-images a{color:#333;font-family: '微软雅黑';}
.loop-images:hover a{color:#2b90e0}
.text .wp-block-image{margin-bottom: 1rem;}
.wp-block-gallery{margin-bottom: 1.5rem;}

.news-tags a:link,.news-tags a:visited{color:#015cad;padding:0 10px;}
.news-tags a:hover{color:#cc9900}



/*侧边栏*/
.sidebar-widgets{color:#585858;}
.sidebar-widgets ul{list-style-type: none;margin: 0;padding: 0;}
.sidebar-widgets a:link,.sidebar-widgets a:visited{color:#585858;}
.sidebar-widgets a:hover{color:#1F6AA2}
.sidebar-widgets .widget .widgettitle{background-color:var(--color1);padding:1rem;color:#fff;font-weight: bold;}
.sidebar-widgets .widget .widgettitle::before{content: '\f13a';font-family: FontAwesome;padding-right: 10px;}
.sidebar-widgets .widget_nav_menu .menu>li:not(:last-child){border-bottom: 1px solid #b8ddff;}
.sidebar-widgets .widget_nav_menu .menu>li>a{display: block;padding:1rem;background-color: #fff;}
.sidebar-widgets .widget_nav_menu .menu>li>a::before{content: '\f0da';font-family: FontAwesome;padding-right: 10px;color:#015cad;}
.sidebar-widgets .widget_nav_menu .menu>li>a:hover{background-color: #cbe6ff;color:#000;}
.sidebar-widgets .widget_nav_menu .sub-menu>li{border-top: 1px dotted #ddd;}
.sidebar-widgets .widget_nav_menu .sub-menu>li>a{display: block;padding:.8rem 1rem;}
.sidebar-widgets .widget_nav_menu .sub-menu>li>a::before{content: '\f105';font-family: FontAwesome;padding-right: 10px;color:#ccc;}
.sidebar-widgets .widget_nav_menu .sub-menu>li>a:hover{background-color: #f1f1f1;}
.sidebar-widgets .widget_nav_menu .sub-menu ul{display: none;}
.sidebar-widgets .textwidget{padding:1rem;line-height: 2rem;}
.sidebar-widgets .widget_recent_entries ul>li{padding:1rem;}
.sidebar-widgets .widget_recent_entries ul>li:not(:last-child){border-bottom: 1px solid #ddd;}
.sidebar-widgets .widget_recent_entries ul>li>a::before{content: '· ';color:#1F6AA2;font-weight: bold;}
.wp-block-latest-posts.wp-block-latest-posts__list li{padding:10px;border-bottom: 1px solid #ddd;}
.wp-block-latest-posts.wp-block-latest-posts__list li a{color:#333}
.wp-block-latest-comments{padding:10px;}
.sidebar-widgets .widget_archive li{display: block;padding:20px;border-bottom: 1px solid #ddd;}

.sidebar-widgets .widget_search{padding:1rem;}
.sidebar-widgets .search-form{display: flex;}
.sidebar-widgets .widget_search .search-field{height: 40px;line-height: 40px;border:1px solid #ddd;padding:0 1rem}
.sidebar-widgets .widget_search .search-submit{height: 40px;background-color:var(--color1);color:#fff;padding:0 10px;}

/*留言*/
.comment-form{}
.comment-form .form-group{margin-bottom: 1rem;}
.comment-form .form-control{border:1px solid #ddd;padding:7px 10px;width: 100%;border-radius: 2px;}
.comment-form .form-row{display: flex;align-items: center;}
.comment-form .submit{padding:10px 30px;background-color: #2b6cb0;color:#fff;}
.comment-form .submit:hover{background-color: #015cad;}
.comment-form .form-control.error{border:1px solid red;}
.comment-form .form-control.success{border:1px solid green;}

/*列表页*/
section.main{min-height: 450px;padding-bottom: 3rem;}
.page-path{background-color: #fff;padding:25px 0;color:#666;}
.page-path a:link,.page-path a:visited{color:#666;}


.sidebar-nav .menu{margin: 0;padding: 0;list-style-type: none;}
.sidebar-nav .menu>li:not(:last-child){border-bottom: 1px solid #ddd;}
.sidebar-nav .menu>li>a{display: block;padding:15px;transition: all ease .5s;}
.sidebar-nav .menu>li>a::before{content: '\f0da'; font-family: FontAwesome;padding-right: 10px;}
.sidebar-nav .menu>li>a:hover{color:#00448a;transform: translateX(10px);}


.honor-list .item .img-wrap{flex:1;width: 100%;overflow: hidden;}
.honor-list .item .img-wrap img{max-height: 200px;transition: all ease .3s;}
.honor-list .item:hover .img-wrap{border-color: var(--color1);}
.honor-list .item:hover .img-wrap img{transform: scale(1.1);}
.honor-list .item:hover .tit{color:var(--color1)}


.pagelist{display: flex;justify-content: center;gap: 5px;font-size: 14px;}
.pagelist span,
.pagelist a
{background-color: #ddd;padding:7px 15px;border-radius: 3px;color:#666;}
.pagelist .current,
.pagelist a:hover
{background-color: #015cad;color:#fff;}

@media screen and (max-width:767px) {
    .page-title{font-size:1.2rem !important}
    .pagelist{flex-wrap: wrap;}
}

/*详情页*/
.page-title{border-bottom: 1px solid #ddd;position: relative;}
.prevnext{border-top:1px solid #ddd;}
.prevnext li{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.prevnext a:hover,
.text a:hover{color:#00448a}
.text p{margin-bottom: 1rem;}
.text a{color:#1F6AA2}
.post-gallery figure{border:1px solid #ddd;height: 100%;}
.post-gallery figure:hover{border:1px solidvar(--color1)}
.post-gallery figure a{padding:30px;}
@media screen and (max-width:768px) {
    .post-gallery figure a{padding:10px;}
}

.gallery-full .item img{
    max-height:200px ;    
}



/*页脚*/
.footer{background: url(static/images/footer-bg.jpg);background-size: cover;}
.footer,
.footer a:link,
.footer a:visited
{color:#fff;}
.footer p{margin-bottom: 0;}
.footer a:hover{color: #ffa200;}

/* .footer-nav, .footer-nav ul{margin: 0;padding:0; list-style-type: none;}
.footer-nav{display: flex;}
.footer-nav li{flex: 1;line-height: 2rem;}
.footer-nav>li>a{font-size:1.2rem}
.footer-nav ul.sub-menu{margin-top: 1rem;}
.footer-nav ul.sub-menu a{max-width: 10em;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;display: block;} */

.footer-nav{background-color: #003e74;}
.footer-nav ul{display: flex;margin: 0;padding: 0;list-style-type: none;justify-content: center;}
.footer-nav li{flex: 1;}
.footer-nav li a{display: block;color:#fff;padding:15px 0;text-align: center;}
.footer-nav li a:hover{color:#f1f1f1;background-color: var(--color2);}

.footer .tit{font-size:1.2rem}
.footer .text p{margin-bottom: 1rem;}
.footer .ewm .item{width: 130px;}


/*客服代码*/
@media (min-width: 768px){
    .block-kf{display: flex;position: fixed;right: 0;bottom:10%;flex-direction: column;z-index: 999;}
    .block-kf ul{margin:0;padding:0;list-style-type: none;}
    .block-kf ul li{margin-bottom: 2px; position: relative;line-height: 30px;width: 50px;height: 50px;}
    .block-kf ul li a{display: flex;color:#fff;position: absolute;left: 0;top: 0;height: 50px;width: 50px;float: right;}
    .block-kf .fa{color:#fff;font-size:1.5rem;}
    .block-kf ul li .cont{color:#fff;white-space:nowrap;background:#00448a;padding:10px;position: absolute;
        right: 52px;top: 0;border-radius: 5px;transition: all ease .3s;transform: translateX(200px);opacity: 0;
    }
    .block-kf ul li .kf-wechat-image{max-width: 120px;height: 120px;}    
    .block-kf ul li .icon{flex:0 0 50px;text-align: center;background:var(--color2);overflow: hidden;height: 50px;padding:10px 0;border-radius: 5px 0 0 5px;}    
    .block-kf ul li:hover .cont{transform: translateX(0);opacity: 1;}
}


@media (max-width: 767px) {           
    .block-kf{position: fixed; bottom: 0;left: 0; background:var(--color1);color:#fff;width:100%;display: flex;justify-content: space-around;z-index: 999;font-size: 14px;;}
    .block-kf ul{margin: 0;padding: 0;list-style-type: none;display: flex;justify-content: space-between;width: 100%;}
    .block-kf ul li{width:100%;padding:5px 0}    
    .block-kf ul>li:not(:last-child){border-right: 1px solid #fff;}
    .block-kf ul li a{color:#fff;text-align: center;display: block;}
    .block-kf ul li .icon{font-size:22px;}
}
